package com.kmist.xiakexing.utils.scene;

import com.kmist.xiakexing.utils.GObject;
import com.kmist.xiakexing.utils.SkillBean;

import java.util.ArrayList;
import java.util.List;

public class NpcBean extends GObject {

    private String title;
    private String attitude;
    private String respect;
    private String greet;
    private String accept;
    private String vendor_goods;
    private String taskIds; /* npc附带的id列表 */
    private List<TaskBean> npcTaskList; /* task hock in npc */
    private List<SkillBean> skillBeans;
    //will forget
    private String taskStr;

    public NpcBean() {
        npcTaskList = new ArrayList<>();
    }

    @Override
    public boolean isCharacter() {
        return true;
    }

    @Override
    public boolean isPlayer() {
        return true;
    }

    @Override
    public boolean isObject() {
        return false;
    }

    public NpcBean(List<SkillBean> skillBeans, String title, String attitude, String respect, String greet, String accept, String vendor_goods, String taskStr) {
        this.skillBeans = skillBeans;
        this.title = title;
        this.attitude = attitude;
        this.respect = respect;
        this.greet = greet;
        this.accept = accept;
        this.vendor_goods = vendor_goods;
        this.taskStr = taskStr;
    }



    public List<SkillBean> getSkillBeans() {
        return skillBeans;
    }

    public void setSkillBeans(List<SkillBean> skillBeans) {
        this.skillBeans = skillBeans;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAttitude() {
        return attitude;
    }

    public void setAttitude(String attitude) {
        this.attitude = attitude;
    }

    public String getRespect() {
        return respect;
    }

    public void setRespect(String respect) {
        this.respect = respect;
    }

    public String getGreet() {
        return greet;
    }

    public void setGreet(String greet) {
        this.greet = greet;
    }

    public String getAccept() {
        return accept;
    }

    public void setAccept(String accept) {
        this.accept = accept;
    }

    public String getVendor_goods() {
        return vendor_goods;
    }

    public void setVendor_goods(String vendor_goods) {
        this.vendor_goods = vendor_goods;
    }

    public String getTaskStr() {
        return taskStr;
    }

    public void setTaskStr(String taskStr) {
        this.taskStr = taskStr;
    }

    public String getTaskIds() {
        return taskIds;
    }

    public void setTaskIds(String taskIds) {
        this.taskIds = taskIds;
    }

    public List<TaskBean> getNpcTaskList() {
        return npcTaskList;
    }

    public void setNpcTaskList(List<TaskBean> npcTaskList) {
        this.npcTaskList = npcTaskList;
    }

    @Override
    public String toString() {
        return "NPCBean{" +
                "skillBeans=" + skillBeans +
                ", title='" + title + '\'' +
                ", attitude='" + attitude + '\'' +
                ", respect='" + respect + '\'' +
                ", greet='" + greet + '\'' +
                ", accept='" + accept + '\'' +
                ", vendor_goods='" + vendor_goods + '\'' +
                ", id=" + id +
                ", pname='" + pname + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", per=" + per +
                ", desc='" + desc + '\'' +
                ", combat_exp=" + combat_exp +
                ", str=" + str +
                ", dex=" + dex +
                ", shen_type=" + shen_type +
                ", no_get=" + no_get +
                ", taskid=" + taskIds +
                ", taskStr='" + taskStr + "\' "+
                '}';
    }
}
